#!/bin/bash
export GOARCH=wasm
export GOOS=js
this_dir=`pwd`
go build -o=./dist/test.wasm $this_dir/app.go
export GOARCH=amd64
export GOOS=linux